package com.eagle.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/home")
@Controller
public class HomeController {

	@RequestMapping(value = { "/index" } , method=RequestMethod.GET  )
    public String loadWidgetData( ModelMap model) {
		model.put("user", "xugang");
		return "z_model";
	}
}
